{extend name="public:layout" /}

{block name="title"}
    <title>{:site('siteName')}-{$category}</title>
{/block}

{block name="css"}
    <style>
        body{background:#efefef;}
    </style>
{/block}

{block name="content"}
    <div class="arlist">
    	<ul>
    		<li><span>标题</span><span>浏览</span><span>时间</span><span>操作</span></li>
    		{volist name="articles" id="v"}
	    		<li><span style="white-space: nowrap;"><a href="{:url('index/article/details',['id'=>$v['id'],'index'=>$index])}">{$v.title}</a></span><span>{$v.click}</span> <span>{:date('Y-m-d',$v['update_time'])}</span><span><a href="{:url('index/article/details',['id'=>$v['id'],'index'=>$index])}">查看</a></span></li>
    		{/volist}
    	</ul>
    	<div class="page">
			{$articles->render()}
		</div>
    </div>
{/block}

{block name="script"}

{/block}

